import * as listGQL from './list.gql'
import * as typesGQL from './types.gql'
import getClient from '@/graphql/client'

export const fetchClasses = (params) => getClient(true).query({
  query: listGQL,
  variables: params,
  fetchPolicy: 'network-only'
})

export const fetchClassTypes = (params) => getClient(true).query({
  query: typesGQL,
  variables: params,
  fetchPolicy: 'network-only'
})
